package mtt.us.client.views.navigation;

import mtt.us.client.MTTUS;

import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

import hmvc4gwt.client.view.View;

public class NavigationView extends View {

	/**
	 * repräsentiert das Navi-Panel
	 */
	private VerticalPanel naviPanel = new VerticalPanel();
	
	/**
	 * enthält alle Navi-Einträge
	 */
	private HorizontalPanel horizontalPanel = new HorizontalPanel();
	
	public Widget getWidget() {
		return naviPanel;
	}
	
	public void doInit() {
		
		naviPanel.setStylePrimaryName("naviPanel");
		
		horizontalPanel.add(new Label(MTTUS.constants.label_menu()));
		
		naviPanel.add(horizontalPanel);
	}

}
